<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class Javascript</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Javascript</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_php-ext---javascript.inc.php.html">/php-ext/javascript.inc.php</a> (line <span class="field"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a17">17</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
										<a href="#assign" title="details" class="method-name">assign</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$varName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
										<a href="#assignNew" title="details" class="method-name">assignNew</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$varName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
										<a href="#functionDef" title="details" class="method-name">functionDef</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$functionName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$functionBody</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$functionParams</span> = <span class="var-default">array()</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
										<a href="#inlineStm" title="details" class="method-name">inlineStm</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#isJavascript" title="details" class="method-name">isJavascript</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#isJavascriptStm" title="details" class="method-name">isJavascriptStm</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#json_encode" title="details" class="method-name">json_encode</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#output" title="details" class="method-name">output</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#sendContentType" title="details" class="method-name">sendContentType</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
										<a href="#stm" title="details" class="method-name">stm</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#valueToJavascript" title="details" class="method-name">valueToJavascript</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$lazy</span> = <span class="var-default">false</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
										<a href="#variable" title="details" class="method-name">variable</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$varName</span>)
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodassign" id="assign"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">assign</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a46">46</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates an assignment statement for an existing variable</p>
	<ul class="tags">
				<li><span class="field">var:</span> The name of the variable to asign to</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
		<span class="method-name">
			assign
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$varName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$varName</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$statement</span>			</li>
				</ul>
		
			
	</div>
<a name="methodassignNew" id="assignNew"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">assignNew</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a55">55</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates an assignment statement for an new variable (in the form 'var foo = 1;')</p>
	<ul class="tags">
				<li><span class="field">var:</span> The name of the variable to asign to</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
		<span class="method-name">
			assignNew
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$varName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$varName</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$statement</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfunctionDef" id="functionDef"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">functionDef</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a24">24</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a variable name</p>
	<ul class="tags">
				<li><span class="field">var:</span> The name of the variable to retrieve</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
		<span class="method-name">
			functionDef
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$functionName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$functionBody</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$functionParams</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$functionName</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$functionBody</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$functionParams</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinlineStm" id="inlineStm"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">inlineStm</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a78">78</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates a javascript statement without a semicolon at the end.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Javascript statement code</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
		<span class="method-name">
			inlineStm
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$statement</span>			</li>
				</ul>
		
			
	</div>
<a name="methodisJavascript" id="isJavascript"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">isJavascript</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a135">135</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			isJavascript
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodisJavascriptStm" id="isJavascriptStm"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">isJavascriptStm</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a143">143</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			isJavascriptStm
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodjson_encode" id="json_encode"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">json_encode</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a125">125</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			json_encode
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodoutput" id="output"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">output</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a88">88</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> Receives indefinite parameters. Each paramenters refers to a string or a <div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span></div></li>
</ol></div></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			output
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsendContentType" id="sendContentType"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">sendContentType</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a151">151</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			sendContentType
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodstm" id="stm"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">stm</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a68">68</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates a javascript statement with a semicolon at the end.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Javascript statement code</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
		<span class="method-name">
			stm
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$statement</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$statement</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalueToJavascript" id="valueToJavascript"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">valueToJavascript</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a103">103</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			valueToJavascript
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$lazy</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$lazy</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvariable" id="variable"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">variable</span> (line <span class="line-number"><a href="../__filesource/fsource_php-ext__php-extjavascript.inc.php.html#a37">37</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a variable name</p>
	<ul class="tags">
				<li><span class="field">var:</span> The name of the variable to retrieve</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../php-ext/JavascriptStm.html">JavascriptStm</a></span>
		<span class="method-name">
			variable
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$varName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$varName</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Mon, 03 Mar 2008 17:20:51 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>